<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<div id="g_menubar">
	<ul id="g_menu_tree" class="ztree"></ul>
<script type="text/javascript">
$(document).ready(function(){
	var setting = {
		data:{simpleData:{enable:true}}
	};
	var zNodes = [
		{id:1, name:"学生信息", url:"<%=request.getContextPath() %>/students/entry", target:"_self"},
		{id:2, name:"资助人信息", url:"<%=request.getContextPath() %>/sponsors/entry", target:"_self"},
		{id:3, name:"志愿者信息", url:"<%=request.getContextPath() %>/volunteers/entry", target:"_self"},
		{id:4, name:"资助工作", open:true},
		{id:401, pId:4, name:"助学进展统计", url:"<%=request.getContextPath() %>/students-aids/statistics_page?projectId=1", target:"_self"},
		{id:402, pId:4, name:"助学跟踪总表", url:"<%=request.getContextPath() %>/students-aids/overall", target:"_self"},
		//{id:5, name:"资金管理"},
		//{id:6, name:"报表和统计"},
		{id:7, name:"主数据", open:true},
		{id:701, pId:7, name:"项目", url:"<%=request.getContextPath() %>/projects/entry", target:"_self"},
		{id:702, pId:7, name:"学年", url:"<%=request.getContextPath() %>/school-years/entry", target:"_self"},
		{id:703, pId:7, name:"学期", url:"<%=request.getContextPath() %>/semesters/entry", target:"_self"},
		{id:704, pId:7, name:"年级", url:"<%=request.getContextPath() %>/grades/entry", target:"_self"},		
		{id:705, pId:7, name:"银行账户", url:"<%=request.getContextPath() %>/bank-accounts/entry", target:"_self"},		
		{id:706, pId:7, name:"会计科目", url:"<%=request.getContextPath() %>/accounting-subjects/entry", target:"_self"},		
		{id:707, pId:7, name:"用户账号", url:"<%=request.getContextPath() %>/users/entry", target:"_self"}		
		//,{id:8, name:"技术参数维护"}
	];
	$.fn.zTree.init($("#g_menu_tree"), setting, zNodes);
});
</script>
</div>